package com.imooc.framework.thread;

public class MyThread extends Thread{

    private final Object object = new Object();
    private String name;

    MyThread(String name){
        this.name = name;
    }
    @Override
    public void run(){

            for (int i = 0; i < 20; i++) {
                System.out.println("Thread start : " + Thread.currentThread().getName() + ",i= " + i);
            }

    }
}
